﻿@{
    ViewBag.Title = "Index";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<div class="path one columns">公告列表</div>

@foreach (var item in (IEnumerable<KnowledgeCommunity.Model.Topic>)ViewData["TopicList"])
{
    <div class="columns one">
        <h6>@item.AddTime</h6>
        <p><span class="dropcap">@item.ClickNum</span><a href="@Url.Action("Details", "Topic", new { id=item.Id})"> @item.Title </a></p>
    </div>
    <div class="separate"></div>
}
<div class="clear"></div>
